import $api from '../axios/apiConfig'//接口
import axios from '../axios'//请求
//
const module = {
  namespaced: true,
  state: {

  },
  mutations: {},
  actions: {

    // 首页接口
    getInfoStatistics(context, url) {
      return new Promise((resolve) => {
        axios.get($api.api + '/smartlink-base/hotel/infoStatistics/'+url).then(res => {
          if (res) {
            resolve(res.data);
          }
        });
      })
    },

  }
};
export default module
